package com.edu.entity.queryanswer;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Querysc {
    private Integer q_id;
    private Integer user_id;
    private String q_user_name;
    private Integer q_user_id;
    private String q_name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    public Querysc() {
        super();
    }

    public Querysc(Integer user_id, Integer q_user_id, String q_name, Date createtime) {
        this.user_id = user_id;
        this.q_user_id = q_user_id;
        this.q_name = q_name;
        this.createtime = createtime;
    }

    public Querysc(Integer q_id, Integer user_id, Integer q_user_id, String q_name, Date createtime) {
        this.q_id = q_id;
        this.user_id = user_id;
        this.q_user_id = q_user_id;
        this.q_name = q_name;
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "querysc{" +
                "q_id=" + q_id +
                ", user_id=" + user_id +
                ", q_user_name='" + q_user_name + '\'' +
                ", q_user_id=" + q_user_id +
                ", q_name='" + q_name + '\'' +
                ", createtime=" + createtime +
                '}';
    }

    public Integer getQ_id() {
        return q_id;
    }

    public void setQ_id(Integer q_id) {
        this.q_id = q_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getQ_user_name() {
        return q_user_name;
    }

    public void setQ_user_name(String q_user_name) {
        this.q_user_name = q_user_name;
    }

    public Integer getQ_user_id() {
        return q_user_id;
    }

    public void setQ_user_id(Integer q_user_id) {
        this.q_user_id = q_user_id;
    }

    public String getQ_name() {
        return q_name;
    }

    public void setQ_name(String q_name) {
        this.q_name = q_name;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Querysc(Integer user_id, String q_user_name, Integer q_user_id, String q_name, Date createtime) {
        this.user_id = user_id;
        this.q_user_name = q_user_name;
        this.q_user_id = q_user_id;
        this.q_name = q_name;
        this.createtime = createtime;
    }

    public Querysc(Integer q_id, Integer user_id, String q_user_name, Integer q_user_id, String q_name, Date createtime) {
        this.q_id = q_id;
        this.user_id = user_id;
        this.q_user_name = q_user_name;
        this.q_user_id = q_user_id;
        this.q_name = q_name;
        this.createtime = createtime;
    }
}
